package com.ztrue.framework.disruptor.event;

import com.lmax.disruptor.EventFactory;
import com.ztrue.framework.core.command.CommandMessage;

/**
 * 命令事件消息生成工厂
 *
 * @author zhangw
 * @date 2016/11/5 18:49
 * @version: 1.0
 */
public class CommandMessageFactory implements EventFactory<CommandMessage> {

    @Override
    public CommandMessage newInstance() {
        return new CommandMessage();
    }
}
